import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

import task from '@/components/task/index.vue'
import note from '@/components/note/index.vue'
import project from '@/components/project/index.vue'
import position from '@/components/position/index.vue'
import tag from '@/components/tag/index.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'root',
      redirect: '/task'
    },
    {
      path: '/task',
      name: 'task',
      component: task
    },
    {
      path: '/note',
      name: 'note',
      component: note
    },
    {
      path: '/project',
      name: 'project',
      component: project
    },
    {
      path: '/position',
      name: 'position',
      component: position
    },
    {
      path: '/tag',
      name: 'tag',
      component: tag
    }
  ]
})
